package cn.mall.product.service;

import cn.mall.common.utils.PageUtils;
import cn.mall.product.entity.CategoryEntity;
import cn.mall.product.vo.Catalog2Vo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author ssd
 * @email 18336719215@163.com
 * @date 2023-10-19 11:04:18
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);
    List<CategoryEntity> listWithTree();

    List<CategoryEntity> getLevel1Category();

    Map<String, List<Catalog2Vo>> getCatalogJson();
}

